<!doctype html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>dizena</title>

    <!-- Favicon -->
    <link rel="icon" href="/web/chat/media/img/favicon.png" type="image/png">

    <!-- Bundle Styles -->
    <link rel="stylesheet" href="/web/chat/vendor/bundle.css">

    <!-- App styles -->
    <link rel="stylesheet" href="/web/chat/css/app.min.css">
</head>

<body class="form-membership">

<div class="form-wrapper">

    <!-- logo -->
    <div class="logo">
        <img src="/web/chat/media/img/small-logo.png" alt="logo">
    </div>
    <!-- ./ logo -->

    <h5>Login Page</h5>

    <!-- form -->
    <form action="/base/login" method="post">
        <div class="form-group">
            <input type="text" class="form-control" name="u" placeholder="Account" required autofocus>
        </div>
        <div class="form-group">
            <input type="password" class="form-control" name="p" placeholder="Password" required>
        </div>
        <div class="form-group d-flex justify-content-between">
            <div class="custom-control custom-checkbox">
            </div>
            <a href="/base/forget">Forget Password ?</a>
        </div>
        <button class="btn btn-primary btn-block">Login</button>
        <hr>
        <p class="text-muted">Don't have an account yet？</p>
        <a href="/base/register" class="btn btn-outline-light btn-sm">Register Now!</a>
        <p style="color:red;margin-top:12px;" th:text="${msg}">&nbsp;</p>
    </form>
    <!-- ./ form -->

</div>

<!-- Bundle -->
<script src="/web/chat/vendor/bundle.js"></script>
<!-- App scripts -->
<script src="/web/chat/js/app.min.js"></script>
<script>
        if (window.top !== window.self) {
            window.top.location = window.location;
        }
</script>
</body>
</html>